#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
	char s[110];
	while(scanf("%s",s)!=EOF)
	{
		int len = strlen(s);
		for(int i = 0;i<len;i++)
		{
			if(s[i]!='a'&&s[i]!='e'&&
			   s[i]!='y'&&s[i]!='i'&&
			   s[i]!='o'&&s[i]!='u'&&
			   s[i]!='A'&&s[i]!='E'&&
			   s[i]!='Y'&&s[i]!='I'&&
			   s[i]!='O'&&s[i]!='U')
			{
				if(s[i]>='A'&&s[i]<='Z') printf(".%c",s[i]+32);
				else printf(".%c",s[i]);
			}    
		}
		printf("\n");
	}
}
